// pages/content/content.js
Page({

  data: {
      note:{}
},
onLoad(options) {
  console.log('值：',options)
  var id = options.id
  wx.cloud.database().collection('domnote')
  .doc(id)
  .get()
  .then(res=>{
    console.log('请求成功',res)
    this.setData({
      note:res.data
    })
  })
  .catch(res=>{
    console.log('请求失败',res)
  })
}




})